import numpy as np

b = np.tan(np.exp(np.pi) / (180 / np.pi))  # tan()函数是以参数必须是弧度制
print(b)

d = np.tan(np.power(np.pi, np.e) / (180 / np.pi))
print(d)

if b > d:
    print("tan(e^pi)大于tan(pi^e)")
else:
    print("tan(pi^e)大于tan(e^pi)")
